package concept.chapter5.swtichStatements;

public class CaseConstantConstraint
{
	final static int c = 3;
	public static void main(String[] args)
	{
		final int b;
		b = 2;
		long x = 130;

		final byte a = -126;
		
		switch ((byte)x)
		{
		case a: System.out.println(x+" -> "+(byte)x);
		//case b://compilation error
		case (byte)c://compilation error
		}
	}
}
